<!DOCTYPE html>
<html lang="zh-Hans">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css" />
    <title>后台管理-AXUM.RS博客</title>
</head>

<body>
<nav class="navbar is-info" role="navigation" aria-label="main navigation">
    <div class="navbar-brand">
        <a class="navbar-item" href="/">
            AXUM.RS博客
        </a>
    </div>
</nav>
<div class="container mt-3">
    <div class="columns">
        <div class="column has-background-light">
            <aside class="menu">
                <p class="menu-label">
                    分类管理
                </p>
                <ul class="menu-list">
                    <li><a href="/m/cate">分类列表</a></li>
                    <li><a href="/m/cate/add">添加分类</a></li>
                </ul>
                <p class="menu-label">
                    文章管理
                </p>
                <ul class="menu-list">
                    <li><a href="/m/topic">文章列表</a></li>
                    <li><a href="/m/topic/add">添加文章</a></li>
                </ul>
                <p class="menu-label">
                    管理员
                </p>
                <ul class="menu-list">
                    <li><a href="/m/admin">管理员列表</a></li>
                    <li><a href="/m/admin/add">添加管理员</a></li>
                    <li><a href="/logout">退出登录</a></li>
                </ul>
            </aside>
        </div>
        <div class="column is-four-fifths">
            <div class="block">
                <h1>添加分类</h1>
            </div>

            <div class="block">
                <form method="post" action="/m/cate/add">
                    <div class="field">
                        <label class="label">分类名称</label>
                        <div class="control">
                            <input class="input" type="text" placeholder="分类名称" name="name" />
                        </div>
                    </div>
                    <div class="field is-grouped">
                        <div class="control">
                            <button class="button is-link">提交</button>
                        </div>
                        <div class="control">
                            <button type="button" class="button is-link is-light" onclick="history.back(-1);">
                                返回
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>

</html>